import React from "react";
import { Route, Routes } from "react-router-dom";
import Main from "../page/Main.jsx";
import UpDataPage from "../page/UploadPage/index.jsx";

export default function RoutePage(props) {
  return (
    <Routes>
      <Route path="*" element={<Main />} />
      <Route path={`upDataPage`} element={<UpDataPage />} />
    </Routes>
  );
}
